package com.ruoyi.train.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.train.domain.ExamPassCertificate;
import com.ruoyi.train.domain.Vo.ExamPassCertificateVo;

/**
 * 考试合格证明Service接口
 * 
 * @author wusihao
 * @date 2023-04-15
 */
public interface IExamPassCertificateService extends IService<ExamPassCertificate>
{

    /**
     * 查询考试合格证明
     * 
     * @param id 考试合格证明主键
     * @return 考试合格证明
     */
    public ExamPassCertificateVo selectExamPassCertificateById(Long id);

    public ExamPassCertificateVo selectExamPassCertificatePdfById(Long id);

    /**
     * 查询考试合格证明列表
     * 
     * @param examPassCertificate 考试合格证明
     * @return 考试合格证明集合
     */
    public List<ExamPassCertificateVo> selectExamPassCertificateList(ExamPassCertificate examPassCertificate);

    // 经办人查询考试证明表
    List<ExamPassCertificateVo> jingbanrenselectExamPassCertificateList(ExamPassCertificate examPassCertificate);

    // 负责人查询考试证明表
    List<ExamPassCertificateVo> fuzerenselectExamPassCertificateList(ExamPassCertificate examPassCertificate);

    // 盖章查询考试证明表
    List<ExamPassCertificateVo> gaizhangExamPassCertificateList(ExamPassCertificate examPassCertificate);

    /**
     * 新增考试合格证明
     * 
     * @param examPassCertificate 考试合格证明
     * @return 结果
     */
    public int insertExamPassCertificate(ExamPassCertificate examPassCertificate);



    /**
     * 批量删除考试合格证明
     * 
     * @param ids 需要删除的考试合格证明主键集合
     * @return 结果
     */
    public int deleteExamPassCertificateByIds(Long[] ids);

    /**
     * 删除考试合格证明信息
     * 
     * @param id 考试合格证明主键
     * @return 结果
     */
    public int deleteExamPassCertificateById(Long id);

    // 提交考试合格证明表
    boolean submitExamPassCertificateTable(Long examPassCertificateId);

    // 经办人审批考试合格证明表
    int jingbanrenApprovalSubmitCertificate(ExamPassCertificate examPassCertificate);

    // 负责人审批考试合格证明表
    int fuzerenApprovalSubmitCertificate(ExamPassCertificate examPassCertificate);


    // 修改考试合格证明
    boolean updateExamPassCertificateTable(ExamPassCertificate examPassCertificate);

    // 提交盖章1生成制证申请表
    int submitgaizhang1getCertificate(Long certificateId);
}
